import numpy as np 
from matplotlib import pyplot as plt 
 
x = np.arange(0,240) 
y=np.sin((x)/8*2*np.pi)
z=y;

y=y*256
print(y);
a=y*z;

np.set_printoptions(formatter={'float': '{: 0.0f},'.format})
# plt.plot(x,y) 
plt.plot(y) 
plt.plot(a) 


plt.show()